package com.gec.system.Service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.pojo.SysMenu;
import com.gec.model.vo.AssignMenuVo;
import com.gec.model.vo.RouterVo;

import java.util.List;

public interface SysMenuService extends IService<SysMenu> {

    // 加载菜单列表
    List<SysMenu> findNodes();

    // 根据id去删除菜单
    void removeMenuById(Long id);

    List<SysMenu> findSysMenuByRoleId(Long roleId);

    void doAssign(AssignMenuVo assignMenuVo);

    List<RouterVo> findUserMenuList(Long id);

    List<String> findUserPermsList(Long id);
}